<template>
    <view class="goods-detail-page">
        <ys-small-tabs :list="tabs"></ys-small-tabs>
        <scroll-view class="main" scroll-y lower-threshold="200">
            <ys-goods-images :list="goods_images"></ys-goods-images>
            <ys-goods-price-time price="19.90" market="26.00" text="距优选结束还剩"></ys-goods-price-time>
            <ys-goods-info name="【秒杀】大汉五香猪手320g/盒 正负30克" weight="320g/盒 正负30克" follows="22"></ys-goods-info>
            <ys-goods-num></ys-goods-num>
            <ys-goods-param></ys-goods-param>
            <ys-goods-detail></ys-goods-detail>
            <lgb-order-step></lgb-order-step>
            <lgb-bottom-info logo="https://thl.lecuntao.com/youxuan/icons/fdd-img.png" text="省钱拼好货 就上太好乐"></lgb-bottom-info>
        </scroll-view>
        <ys-buy-bottom></ys-buy-bottom>
    </view>
</template>

<script>
    export default {
        data() {
            return {
                tabs : [{'name' : '基本信息'}, {'name' : '购买记录'}],
                goods_images : [
                    {'img_url' : 'https://thl.lecuntao.com/uploads/goods/20190122135003477.png'},
                    {'img_url' : 'https://thl.lecuntao.com/uploads/goods/20190126142454701.png'}
                ],
            };
        }
    }
</script>

<style lang="scss">
.goods-detail-page {
    .main {
        position: absolute;
        top: 80rpx;
        left: 0;
        bottom: 100rpx;
        width: 100%;
        overflow-x: hidden;
        overflow-y: auto;
        background-color: #F5F5F5;        
    }
}

</style>